<include file="top" />
<include file="left" />
<div id="right">
	<h3>修改文章</h3>
	<form method="post" enctype="multipart/form-data">
		<table width="100%" border="1" bgcolor="#fff">
			<tr>
				<td width="16%">*所属栏目：</td>
				<td width="84%"><{$article.cate_data.big_category_name}> <input
					type="hidden" value="<{$article.id}>" name="article_id"> <input
					type="hidden" value="<{$article.pid}>" name="pid">
				</td>
			</tr>
			<tr>
				<td width="16%">*所属分类：</td>
				<td width="84%"><select name="cid">
						<option value="0">请选择</option>
						<volist name="article.ac_data" id="cate">
						<option value="<{$cate.id}>"
							<if condition="$article['cid'] eq $cate['id']">selected="selected"</if>
							><{$cate.big_category_name}>--<{$cate.classify_name}>
						</option>
						</volist>

				</select></td>
			</tr>
			<tr>
				<td width="16%">*标题：</td>
				<td width="84%"><input type="text" name="title"
					value="<{$article.title}>"></td>
			</tr>
			<tr>
				<td width="16%">副标题：</td>
				<td width="84%"><input type="text" name="sec_title"
					value="<{$article.sec_title}>"></td>
			</tr>
			<tr>
				<td width="16%">原文章图标：</td>
				<td width="84%"><img
					src="__PUBLIC__/upload/<{$article.small_icon}>"></td>
			</tr>
			<tr>
				<td width="16%">文章图标：</td>
				<td width="84%"><input type="file" name="small_icon"></td>
			</tr>
			<tr>
				<td width="16%">原作者图片：</td>
				<td width="84%"><img
					src="__PUBLIC__/upload/<{$article.author_img}>"></td>
			</tr>
			<tr>
				<td width="16%">更改作者图片：</td>
				<td width="84%"><input type="file" name="author_img"
					value="<{$article.author_img}>"></td>
			</tr>
			<tr>
				<td width="16%">原右侧图片：</td>
				<td width="84%"><img
					src="__PUBLIC__/upload/<{$article.right_img}>"></td>
			</tr>
			<tr>
				<td width="16%">更改右侧图片：</td>
				<td width="84%"><input type="file" name="right_img" value=""></td>
			</tr>
			<tr>
				<td width="16%">右侧图片链接：</td>
				<td width="84%"><input type="text" name="right_img_link"
					value="<{$article.right_img_link}>"></td>
			</tr>
			<tr>
				<td width="16%">作者相关描述：</td>
				<td width="84%"><textarea id="author_des" name="author_des"
						style="width: 800px; height: 200px;"><{$article.author_des}></textarea></td>
			</tr>
			<tr>
				<td width="16%">seo_title：</td>
				<td width="84%"><input type="text" name="web_title"
					value="<{$article.web_title}>"></td>
			</tr>
			<tr>
				<td width="16%">seo关键字：</td>
				<td width="84%"><input type="text" name="keyword"
					value="<{$article.keyword}>"></td>
			</tr>
			<tr>
				<td width="16%">搜索关键字：</td>
				<td width="84%"><input type="text"
					name="<{$article.search_word}>"></td>
			</tr>
			<tr>
				<td width="16%">修改静态化名字：</td>
				<td width="84%"><input type="text" name="statice_name"
					value="<{$article.statice_name}>"></td>
			</tr>
			<tr>
				<td width="16%">文章位置：</td>
				<td width="84%"><input type="radio" value="0"
				<if condition="$article['article_position'] eq 0">checked="checked"</if>
					name="article_position">右边 <input type="radio" value="1"
				<if condition="$article['article_position'] eq 1">checked="checked"</if>
					name="article_position">左边</td>
			</tr>
			<tr>
				<td width="16%">排序：</td>
				<td width="84%"><input type="text" name="sort"
					value="<{$article.sort}>"></td>
			</tr>
			<!--
				<tr>
				<td width="16%" >原缩略图：</td>
				<td width="84%"><img src="__PUBLIC__/upload/s_<{$article.article_img}>"></td>
				</tr>
				<tr>
					<td width="16%" >缩略图：</td>
					<td width="84%">
						<input type="file" name="t_img">宽<input type="text" value="" name="width">
						高<input type="text" value="" name="height">（不填采用系统默认）
					</td>
				</tr>
				-->
			<tr>
				<td width="16%">for windows or mac：</td>
				<td width="84%"><input type="radio" value="1"
				<if condition="$article.pc eq 1">checked="checked"</if>
					name="pc">for windows <input type="radio" value="2"
				<if condition="$article.pc eq 2">checked="checked"</if>
					name="pc">for mac</td>
			</tr>
			<tr>
				<td width="16%">for windows or mac外链接：</td>
				<td width="84%"><input type="text"
					value="<{$article.out_link}>" name="out_link"></td>
			</tr>

			<tr>
				<td width="16%">外链接标题：</td>
				<td width="84%"><input type="text"
					value="<{$article.out_link_title}>" name="out_link_title">
				</td>
			</tr>
			<tr>
				<td width="16%">文章页浮动win链接：</td>
				<td width="84%"><input type="text" name="win_link"
					value="<{$article.win_link}>"></td>
			</tr>
			<tr>
				<td width="16%">文章页浮动mac链接：</td>
				<td width="84%"><input type="text"
					value="<{$article.mac_link}>" name="mac_link"></td>
			</tr>
			<tr>
				<td width="16%">is hot：</td>
				<td width="84%"><input type="radio" value="1"
				<if condition="$article['is_hot'] eq 1">checked="checked"</if>
					name="is_hot">是 <input type="radio" value="0"
				<if condition="$article['is_hot'] eq 0">checked="checked"</if>
					name="is_hot">否</td>
			</tr>
			<tr>
				<td width="16%">是否新增：</td>
				<td width="84%"><input type="radio" value="1"
				<if condition="$article['is_new'] eq 1">checked="checked"</if>
					name="is_new">是 <input type="radio" value="0"
				<if condition="$article['is_new'] eq 0">checked="checked"</if>
					name="is_new">否</td>
			</tr>
			<tr>
				<td width="16%">内容简介：</td>
				<td width="84%"><textarea id="introduce" name="introduce"
						style="width: 400px; height: 100px;"><{$article.introduce}></textarea></td>
			</tr>
			<tr>
				<td width="16%">内容：</td>
				<td width="84%"><textarea id="content" name="content"
						style="width: 800px; height: 300px;"><{$article.content}></textarea></td>
			</tr>
			<tr>
				<td width="16%"></td>
				<td width="84%"><input type="submit" value="提交" name="sub"></td>
			</tr>

		</table>
		<script type="text/javascript">
			var editor;
			KindEditor.ready(function(K) {
				editor = K.create('#content', {
					allowFileManager : true
				});
			});
			KindEditor.ready(function(K) {
				editor = K.create('#author_des', {
					allowFileManager : true
				});
			});
	</script>
	</form>

</div>
<include file="foot" />